home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XReparentEvent.z / XReparentEvent
Encoding:
Text File  |  1998-10-30  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXRRRReeeeppppaaaarrrreeeennnnttttEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXRRRReeeeppppaaaarrrreeeennnnttttEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XReparentEvent - ReparentNotify event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _R_e_p_a_r_e_n_t_N_o_t_i_f_y events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* ReparentNotify */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window event;
  20.                Window window;
  21.                Window parent;
  22.                int x, y;
  23.                Bool override_redirect;
  24.           } XReparentEvent;
  25.  
  26.           When you receive this event, the structure members are set
  27.           as follows.
  28.  
  29.           The type member is set to the event type constant name that
  30.           uniquely identifies it.  For example, when the X server
  31.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  32.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  33.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  34.           pointer to the display the event was read on.  The
  35.           send_event member is set to _T_r_u_e if the event came from a
  36.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  37.           the serial number reported in the protocol but expanded from
  38.           the 16-bit least-significant bits to a full 32-bit value.
  39.           The window member is set to the window that is most useful
  40.           to toolkit dispatchers.
  41.  
  42.           The event member is set either to the reparented window or
  43.           to the old or the new parent, depending on whether
  44.           _S_t_r_u_c_t_u_r_e_N_o_t_i_f_y or _S_u_b_s_t_r_u_c_t_u_r_e_N_o_t_i_f_y was selected. The
  45.           window member is set to the window that was reparented.  The
  46.           parent member is set to the new parent window.  The x and y
  47.           members are set to the reparented window's coordinates
  48.           relative to the new parent window's origin and define the
  49.           upper-left outer corner of the reparented window.  The
  50.           override_redirect member is set to the override-redirect
  51.           attribute of the window specified by the window member.
  52.           Window manager clients normally should ignore this window if
  53.           the override_redirect member is _T_r_u_e.
  54.  
  55.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  56.           XAnyEvent(3X11), XButtonEvent(3X11),
  57.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  58.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  59.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXRRRReeeeppppaaaarrrreeeennnnttttEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXRRRReeeeppppaaaarrrreeeennnnttttEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  75.           XErrorEvent(3X11), XExposeEvent(3X11),
  76.           XFocusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  77.           XGravityEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  78.           XMapRequestEvent(3X11), XPropertyEvent(3X11),
  79.           XResizeRequestEvent(3X11), XSelectionClearEvent(3X11),
  80.           XSelectionEvent(3X11), XSelectionRequestEvent(3X11),
  81.           XUnmapEvent(3X11), XVisibilityEvent(3X11)
  82.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.